package cn.edu.pzhu.javaweb.pojo;

import java.util.Date;

public class FileMsg {
    private Integer fileId;
    private String userName;
    private String fileName;
    private String classification;
    private String filePath;
    private Date releasedate;
    private Double rating;
    private  String description;

    public FileMsg() {
        super();
    }

    public FileMsg(Integer fileId, String userName, String fileName, String classification, String filePath, Date releasedate, Double rating, String description) {
        this.fileId = fileId;
        this.userName = userName;
        this.fileName = fileName;
        this.classification = classification;
        this.filePath = filePath;
        this.releasedate = releasedate;
        this.rating = rating;
        this.description = description;
    }

    public Integer getFileId() {
        return fileId;
    }

    public void setFileId(Integer fileId) {
        this.fileId = fileId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getClassification() {
        return classification;
    }

    public void setClassification(String classification) {
        this.classification = classification;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public Date getReleasedate() {
        return releasedate;
    }

    public void setReleasedate(Date releasedate) {
        this.releasedate = releasedate;
    }

    public Double getRating() {
        return rating;
    }

    public void setRating(Double rating) {
        this.rating = rating;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "FileMsg{" +
                "fileId=" + fileId +
                ", userName='" + userName + '\'' +
                ", fileName='" + fileName + '\'' +
                ", classification='" + classification + '\'' +
                ", filePath='" + filePath + '\'' +
                ", releasedate=" + releasedate +
                ", rating=" + rating +
                ", description='" + description + '\'' +
                '}';
    }
}
